// javamaps
// Copyright (c) 2010 Lup Gratian
package Rendering.Info;
import Core.*;
import Rendering.*;

public final class StreetInfo implements IObjectInfo {
    Street street_;
    IRenderer parent_;

    /*
     * Constructori.
     */
    public StreetInfo(Street street, IRenderer parent) {
        street_ = street;
        parent_ = parent;
    }

    /*
     * Metode publice.
     */
    public InfoType Type() { return InfoType.Street; } // Read-only, trebuie
    public IRenderer Parent() { return parent_; }      // setate in constructor.
    public Street Street() { return street_; }
}